This page last changed on Dec 13, 2004 by casey.

分发器

包含或前进到一个视图(通常是JSP). WebWork使用RequestDispatcher, 而目标servlet/JSP会收到与原始Servlet/JSP相同的request/response对象. 因此, 你可以使用request.setAttribute()在它们之间传递参数 – WebWork的活动也可以使用.

参数 必需 描述
location 执行后跳转的位置(例如: jsp)
parse 缺省为true. 如果设为false, location参数将不作为Ognl表达式进行解析
<result name="success" type="dispatcher">
    <param name="location">foo.jsp</param>
</result>
Document generated by Confluence on Dec 14, 2004 16:36